package com.gray.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Created on 2019/6/22.
 *
 * @author Grak
 * @since 1.0
 */
@FeignClient(name = "client-user")
public interface UserClientBase {

    @PostMapping("/findByIdBase")
    String findByIdBase(@RequestBody int id);

    @PostMapping("/portBase")
    String getPortBase();
}
